﻿using System;

namespace Permutations
{
    class Program
    {
        static void Main(string[] args)
        {
            string word;
            string[] wordResults;

            Console.Write("Enter a word : ");
            word = Convert.ToString(Console.ReadLine());

            wordResults = Permutations.GetPermutations(word);

            foreach (string comb in wordResults)
            {
                Console.WriteLine(comb);
            }
        }
    }    
}
